import QtQuick
import QtQuick.Controls

Image {
    id: zInputImage
    x: 40
    y: 155
    source: "qrc:/assets/input.png"
    width: 721
    height: 63
    fillMode: Image.PreserveAspectFit

    property alias text: textField.text
    property alias placeholderText: textField.placeholderText
    //signal textChanged
    TextArea{
        id: textField
        leftPadding:3
        verticalAlignment: Text.AlignVCenter
        anchors.fill: parent
        wrapMode: Text.WrapAnywhere
        focus: true
        font.pixelSize: 24
        placeholderText: "请输入正确的注册码"
        background: null
        // onTextChanged: {
        //     console.log("onTextChanged:", text)
        //     //zInputImage.textChanged();
        // }
    }
}
